/**
 * 
 */
package json_objects_send;

import java.util.List;

/**
 * @author Alejandro Casas
 * @author Rodrigo Cifuentes
 */

public class JSON_event 
{
	private String name;
	private String creator_name;
	private String mini_picture;
	private String address;
	private List<String>sports;
	private String date;
	private String end_date;
	private int openings;
	private long id;
	private int friends_in_common_int;
	private List<CommonUser> friends_in_common;
	private double lat;
	private double lng;
	private int registered_people_num;
	
	public JSON_event(String name, String creator_name, String mini_picture, String address,
			List<String>sports, String date,String end_date, int openings, long id,
			List<CommonUser> friends_in_common,double lat,double lng,
			int registered_people_num)
	{
		this.name=name;
		this.end_date=end_date;
		this.creator_name=creator_name;
		this.mini_picture=mini_picture;
		this.address=address;
		this.sports=sports;
		this.date=date;
		this.openings=openings;
		this.id=id;
		this.friends_in_common=friends_in_common;
		this.friends_in_common_int=friends_in_common.size();
		this.lat=lat;
		this.lng=lng;
		this.registered_people_num=registered_people_num;
	}

	
	/**
	 * @return the lat
	 */
	public double getLat() {
		return lat;
	}


	/**
	 * @param lat the lat to set
	 */
	public void setLat(double lat) {
		this.lat = lat;
	}


	/**
	 * @return the lng
	 */
	public double getLng() {
		return lng;
	}


	/**
	 * @param lng the lng to set
	 */
	public void setLng(double lng) {
		this.lng = lng;
	}


	/**
	 * @return the registered_people_num
	 */
	public int getRegistered_people_num() {
		return registered_people_num;
	}


	/**
	 * @param registered_people_num the registered_people_num to set
	 */
	public void setRegistered_people_num(int registered_people_num) {
		this.registered_people_num = registered_people_num;
	}


	/**
	 * @return the end_date
	 */
	public String getEnd_date() {
		return end_date;
	}

	/**
	 * @param end_date the end_date to set
	 */
	public void setEnd_date(String end_date) {
		this.end_date = end_date;
	}

	/**
	 * @return the friends_in_common_int
	 */
	public int getFriends_in_common_int() {
		return friends_in_common_int;
	}

	/**
	 * @param friends_in_common_int the friends_in_common_int to set
	 */
	public void setFriends_in_common_int(int friends_in_common_int) {
		this.friends_in_common_int = friends_in_common_int;
	}

	/**
	 * @return the friends_in_common
	 */
	public List<CommonUser> getFriends_in_common() {
		return friends_in_common;
	}

	/**
	 * @param friends_in_common the friends_in_common to set
	 */
	public void setFriends_in_common(List<CommonUser> friends_in_common) {
		this.friends_in_common = friends_in_common;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCreator_name() {
		return creator_name;
	}

	public void setCreator_name(String creator_name) {
		this.creator_name = creator_name;
	}

	public String getMini_picture() {
		return mini_picture;
	}

	public void setMini_picture(String mini_picture) {
		this.mini_picture = mini_picture;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public List<String> getSports() {
		return sports;
	}

	public void setSports(List<String> sports) {
		this.sports = sports;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getOpenings() {
		return openings;
	}

	public void setOpenings(int openings) {
		this.openings = openings;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
}
